/**
 * 
 */
package ar.com.greensoft.neosystem.common;

import java.util.Collections;
import java.util.List;

/**
 * 
 * @author Jorge E. Villaverde
 * @date 05/01/2012
 * @version 1.0.0
 */
public class SimpleMenuItem extends AbstractMenuItem {
	private final String action;
	
	public SimpleMenuItem(String label, final String action) {
		super(label);
		this.action = action;
	}

	@Override
	public String getAction() {
		return action;
	}

	@Override
	public List<MenuItem> getSubItems() {
		return Collections.emptyList();
	}
}